< Prev(J) / Next(K) > / View :

Filename: /text/shared/explorer/database/05020000.xhp

(section: relationen) (bookmark: bm_id3153345)

Relations
リレーション(hd_id3153323.1)

(bookmark: bm_id3146957)
relational databases (Base)

リレーショナルデータベース (Base)

This command opens the Relation Design window, which allows you to define relationships between various database tables.
このコマンドは、各種のデータベーステーブル間でのリレーションシップの定義に使用するウィンドウ リレーションデザイン を開きます。(par_id3146957.2)

(/section: relationen)

Here you can link together tables from the current database through common data fields. Click the New Relation icon to create the relationships, or simply drag-and-drop with the mouse.
ここでは現在のデータベースから複数のテーブルに対して、共通のデータフィールドを介したリンクを作成することができます。 リレーションシップを定義するには、アイコン 新規リレーション をクリックするか、あるいはマウスによるドラッグ&ドロップを行います。(par_id3154823.19)

(variable: wie)To access this command...(variable: wie)この機能の見つけ方

(embed text/shared/00/00000450.xhp#relationen : linkinfo)

In a database file window, choose Tools - Relationships
データベースファイルウィンドウで、ツール → リレーションシップ(par_id3147441.69)

(/embed text/shared/00/00000450.xhp#relationen)


Note Icon 注マーク This function is only available if you are working with a relational database.
この機能が利用できるのは、リレーショナルデータベースを使用している場合だけです。(par_id3145316.3)

When you choose Tools - Relationships, a window opens in which all the existing relationships between the tables of the current database are shown. If no relationships have been defined, or if you want to relate other tables of the database to each other, then click the Add Tables icon. The Add Tables dialog opens in which you can select the tables that you want.
ツール → リレーションシップ を選択すると、現在のデータベースのテーブル間にあるすべての既存のリレーションシップが表示されるウィンドウが開きます。 リレーションシップがまったく定義されていない場合や、データベースのほかのテーブル同士を関連付ける場合は、テーブルの追加 アイコンをクリックします。 テーブルを選択できるテーブルの追加ダイアログが開きます。(par_id3149235.4)

(embed text/shared/00/00000450.xhp#sytabelle : linkinfo)

Icon
アイコン(par_id3151245.)

Insert Tables
テーブルの追加...(par_id3153896.41)


(/embed text/shared/00/00000450.xhp#sytabelle)

Note Icon 注マーク If the Relation Design window is open, the selected tables cannot be modified, even in Table Design mode. This ensures that tables are not changed while the relations are being created.
リレーションデザイン ウィンドウが開いている場合は、テーブルデザインモードであっても選択したテーブルを変更できません。 このため、リレーションの作成中にテーブルが変更されることはありません。(par_id3152812.17)

The selected tables are shown in the top area of the design view. You can close a table window through the context menu or with the Delete key.
選択されているテーブルは作成画面の上の方に表示されます。テーブルウィンドウはコンテキストメニューまたはDeleteキー操作により解除できます。(par_id3150541.5)

(embed text/shared/explorer/database/02010100.xhp#darstellungaendern : linkinfo)

Move table and modify table size
テーブルの移動とテーブルサイズの変更(hd_id3150012.142)

You can resize and arrange the tables according to your preferences. To move tables, drag the upper border to the desired position. Enlarge or reduce the size in which the table is displayed by positioning the mouse cursor on a border or on a corner and dragging the table until it is the desired size.
テーブルの並べ替えおよびサイズの変更を実施できます。テーブルを移動するには、マウスで上の枠をつかみ、目的の場所に引っ張ります。表示を拡大したり、縮小させるには、枠や角を引っ張ります。(par_id3146922.143)

(/embed text/shared/explorer/database/02010100.xhp#darstellungaendern)

(bookmark: bm_id3148922)
primary keys;inserting (Base)
keys;primary keys (Base)
external keys (Base)

プライマリキー;挿入 (Base)
キー;プライマリキー (Base)
外部キー (Base)

Primary key and other key
プライマリキーとその他のキー(hd_id3148922.6)

If you want to define a relation among the different tables, you should enter a primary key that clearly identifies a data field of the existing table. You can refer to the primary key from other tables to access the data of this table. All data fields referring to this primary key will be identified as an external key.
異なるテーブル間にリレーション関係を定義する場合は、既存のデータを一意的に特定できるフィールドを、プライマリキーに指定するようにします。プライマリキーを参照することで、テーブル内のデータを他方のテーブルからアクセスできるようになります。このプライマリキーを参照するすべてのデータフィールドは、外部キーとして認識されます。(par_id3149168.7)

All data fields referring to a primary key will be identified in the table window by a small key symbol.
メインキーが割り当てられているデータフィールドはテーブルウィンドウの表示では小さな鍵のマークがつきます。(par_id3147085.8)

Define relations
リレーションの定義(hd_id3153193.12)

(bookmark: bm_id3155430)
relations; creating and deleting (Base)

リレーション; 作成および削除 (Base)

All existing relations are shown in the relations windows by a line that connects the primary and other key fields. You can add a relation by using drag-and-drop to drop the field of one table onto the field of the other table. A relation is removed again by selecting it and pressing the Delete key.
既存のすべてのリレーションは、プライマリキーと他のキーフィールドを接続する線として、リレーション設定用のウィンドウに表示されます。リレーションを追加するには、片方のテーブルのフィールドをドラッグ&ドロップ操作により、他方のテーブルのフィールドにドロップします。リレーションを削除するには、削除するものを選択して Delete キーを押します。(par_id3155430.13)

Alternatively, you can also click the New Relation icon in the top area of the relation field and define the relation between two tables in the Relations dialog.
また、リレーションフィールドの上部にあるアイコン 新しいリレーション をクリックして、ダイアログ リレーション 上で 2 つのテーブル間にリレーションを定義することもできます。(par_id3149984.18)

(embed text/shared/00/00000450.xhp#SyRelationen : linkinfo)

Icon
アイコン(par_id3149457.)

New Relation
新しいリレーション...(par_id3159085.43)


(/embed text/shared/00/00000450.xhp#SyRelationen)

Warning Icon 警告マーク If you use Office as the front-end for a relational database, the creation and deletion of relationships is not placed in an intermediate memory by Office, but is forwarded directly to the external database.
Office をデータベースのフロントエンドとして使用している場合、リレーションの作成および削除の結果は、Office 側のメモリに蓄積されるのではなく、外部のデータベースへ直接転送されます。(par_id3153093.14)

By double-clicking a connection line, you can assign certain properties to the relation. The Relations dialog opens.
リレーションの属性を指定するには、該当する接続線をダブルクリックします。ダイアログ リレーション が開きます。(par_id3155856.15)


< Prev / Next >